-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
amended mkdocs missing message to allign with sphinx #12012
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
amended mkdocs missing message to allign with sphinx #12012
Conversation
4290a39
to
202ce9e
Compare
202ce9e
to
ade2e8f
Compare
2a01a33
to
34092ee
Compare
I have added made changes and included for the missing yaml message. However, when i added the linkage to the missing yaml mesage, it seems that it breaks some of the tests in test_build_tasks.py I am unsure of how to fix this and what is the cause of it, is it possible for some guidance on this? |
@@ -80,6 +80,11 @@ def get_yaml_config(self): | |||
def show_conf(self): | |||
"""Show the current ``mkdocs.yaml`` being used.""" | |||
# Write the mkdocs.yml to the build logs | |||
if not os.path.exists(self.yaml_file): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is the only logic we need here? I'm not sure what the rest of the PR is doing during the actual build?
@silentfatez Hi, are you still planning to work on this PR? There is a some review on it that you may want to take on so we can move forward with it. |
Amended error message to allign with sphinx missing conf.py message for mkdocs.yaml
This is to address
Build: "Unknown" error when mkdocs.yml is not found #11937
Closes #11937